Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor of ammo and it's children file to clean a bit BE code. #4886

Closed

Conversation

Huffie56
Copy link
Contributor

@Huffie56 Huffie56 commented Nov 9, 2023

About the pull request

Make it so that all child of ammo can use BE code instead of just bullet child.

Explain why it's good for the game

Testing Photographs and Procedure

Screenshots & Videos

Put screenshots and videos here with an empty line between the screenshots and the <details> tags.

Changelog

🆑
refactor: moved the two proc that handled BE to ammo object instead of bullet object allowing more gun to BE in the future.
refactor: removed some instance where variable where change for the value they already had.
/:cl:

Julien added 4 commits November 9, 2023 15:12
and remove a line that was already set
in is parent object
@github-actions github-actions bot added the Refactor Make the code harder to read label Nov 9, 2023
@Huffie56
Copy link
Contributor Author

Huffie56 commented Nov 9, 2023

noticed that damage isn't set by define value ... not sure what to do with this but i could refactor this here if needed...

@Huffie56 Huffie56 requested a review from fira November 9, 2023 21:08
@Huffie56 Huffie56 marked this pull request as ready for review November 10, 2023 12:29
Copy link
Contributor

This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself

@github-actions github-actions bot added the Stale beg a maintainer to review your PR label Nov 18, 2023
@Huffie56
Copy link
Contributor Author

Huffie56 commented Nov 18, 2023

@github-actions github-actions bot removed the Stale beg a maintainer to review your PR label Nov 19, 2023
@Birdtalon
Copy link
Contributor

Lets say at some point in the future we want to allow BE with other types of ammo. The user feedback and applied effects of these procs don't fit all /datum/ammo so it would have to be refactored at some point. When are we going to see BE with /datum/ammo/xeno/acid 😄. But to be honest I'm not sure I see the benefit of moving these out of the scope of datum/ammo/bullet at this time.

@Huffie56
Copy link
Contributor Author

Huffie56 commented Nov 20, 2023

Lets say at some point in the future we want to allow BE with other types of ammo. The user feedback and applied effects of these procs don't fit all /datum/ammo so it would have to be refactored at some point. When are we going to see BE with /datum/ammo/xeno/acid 😄. But to be honest I'm not sure I see the benefit of moving these out of the scope of datum/ammo/bullet at this time.

yea i am probably going to let this PR auto-close and do something else around those file their is lot's to do on them....
turning random damage into define come to mind...

Copy link
Contributor

This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself

@github-actions github-actions bot added the Stale beg a maintainer to review your PR label Nov 28, 2023
@Huffie56
Copy link
Contributor Author

not a real point to this PR closing it down

@Huffie56 Huffie56 closed this Nov 28, 2023
@Huffie56 Huffie56 deleted the refactor_ammo_battle_execution branch December 3, 2023 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactor Make the code harder to read Stale beg a maintainer to review your PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants